package com.xinshujia.dto;

import com.xinshujia.entity.DeviceEntity;
import com.xinshujia.entity.ResourceEntity;
import com.xinshujia.entity.RoleEntity;

import java.util.Set;

/**
 * *************************************
 * *   @author: 野狼上校               **
 * *   @since: 2024-08-06 09:40       **
 * *   @version: 1.0                  **
 * *************************************
 * <p>
 *     角色数据封装类
 */
public class RoleDTO extends RoleEntity {
    private Set<ResourceEntity> resources;
    private Set<DeviceEntity> devices;

    public Set<ResourceEntity> getResources() {
        return resources;
    }

    public void setResources(Set<ResourceEntity> resources) {
        this.resources = resources;
    }

    public Set<DeviceEntity> getDevices() {
        return devices;
    }

    public void setDevices(Set<DeviceEntity> devices) {
        this.devices = devices;
    }
}
